package xyz.xtt.asset.service;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.asset.entity.TblThirdOrder;

/**
 * <p>
 * 玫瑰花三方订单表 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-11
 */
public interface ITblThirdOrderService extends IService<TblThirdOrder> {
	/**
	 * 根据订单查详情，带缓存
	 * 
	 * @param orderNumber
	 * @return
	 */
	TblThirdOrder infoCahceWithOrderNumer(String orderNumber);

	/**
	 * 根据订单查详情，不带缓存
	 * 
	 * @param orderNumber
	 * @return
	 */
	TblThirdOrder infoWithOrderNumer(String orderNumber);

	/**
	 * 更新订单状态
	 * 
	 * @param orderNumber
	 * @param uid
	 * @param userType
	 * @param tid
	 * @return
	 */
	Boolean updateResult(String orderNumber, Long uid, Integer userType, Long tid);
}
